import { ObjCreate } from "../common/ObjCreate";
import { ImagesConst } from "../../resource/ImagesConst";
import { ScaleBitmap } from "../../../../com/mui/display/ScaleBitmap";
type int = number;
//class CloudBg
    
    export  class CloudBg /* flash.display.Sprite */
    {
        constructor(arg1: int)
        {
            
            this.init(arg1);
            return;
        }

        /* internal  */init(arg1: int): void
        {
            this._leftBmp = ObjCreate.createBitmap(ImagesConst.RechargeFlwBg, 0, 0, this);
            var loc1=arg1 - this._leftBmp.width * 2;
            this._line = ObjCreate.createBg(0, this._leftBmp.height - 3, loc1, 1, this, ImagesConst.KillUserLine);
            this._rightBmp = ObjCreate.createBitmap(ImagesConst.RechargeFlwBg, this._line.width, 0, this);
            this._rightBmp.rotationY = -180;
            return;
        }

        /* internal */ /* var */_line: ScaleBitmap;

        /* internal */ /* var */_leftBmp: Object /* flash.display.Bitmap */;

        /* internal */ /* var */_rightBmp: Object /* flash.display.Bitmap */;
    }
